div.annotated-image {
    position: relative;
}


figure.ann-image {
    position: relative;
}

figure.ann-image div.ann {
    position: absolute;
}

div.ann-border {
    border: 1px solid #f77;
    width: 100%;
    height: 100%;
}

div.ann-border+div.ann-overlay {
    display:none;
    background-color: #ffffda;
    padding: 5px 5px 5px 5px;
    border: 1px solid #000;
    border-radius: 2px;
    position: relative;
    z-index: 100500;
}

div.ann-overlay p {
    margin-bottom: 0px;
}

div.ann-overlay p + p{
    margin-top: 10px;
}

div.ann-debug p {
    display:none;
    min-height: 3em;
    min-width: 10em;
    position: absolute;
    top: 0px;
    left: 0px;
}